package com.ruoyi.member.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 会员对象 ums_member
 * 
 * @author liaojunjia
 * @date 2025-06-14
 */
public class UmsMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 社交平台uid */
    @Excel(name = "社交平台uid")
    private String socialUid;

    /** 社交平台给的访问令牌 */
    @Excel(name = "社交平台给的访问令牌")
    private String accessToken;

    /** 当次令牌的过期时间，单位s */
    @Excel(name = "当次令牌的过期时间，单位s")
    private Long expireIn;

    /** 注册类型[0-本平台，1-微博，2-微信] */
    @Excel(name = "注册类型[0-本平台，1-微博，2-微信]")
    private Long registerType;

    /** id */
    private Long id;

    /** 会员等级id */
    @Excel(name = "会员等级id")
    private Long levelId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobile;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 头像 */
    @Excel(name = "头像")
    private String header;

    /** 性别[1-男，0-女] */
    @Excel(name = "性别[1-男，0-女]")
    private Long gender;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birth;

    /** 所在城市 */
    @Excel(name = "所在城市")
    private String city;

    /** 职业 */
    @Excel(name = "职业")
    private String job;

    /** 个性签名 */
    @Excel(name = "个性签名")
    private String sign;

    /** 用户来源 */
    @Excel(name = "用户来源")
    private Long sourceType;

    /** 积分 */
    @Excel(name = "积分")
    private Long integration;

    /** 成长值 */
    @Excel(name = "成长值")
    private Long growth;

    /** 启用状态[0启用，1-禁用] */
    @Excel(name = "启用状态[0启用，1-禁用]")
    private Long status;

    public void setSocialUid(String socialUid) 
    {
        this.socialUid = socialUid;
    }

    public String getSocialUid() 
    {
        return socialUid;
    }

    public void setAccessToken(String accessToken) 
    {
        this.accessToken = accessToken;
    }

    public String getAccessToken() 
    {
        return accessToken;
    }

    public void setExpireIn(Long expireIn) 
    {
        this.expireIn = expireIn;
    }

    public Long getExpireIn() 
    {
        return expireIn;
    }

    public void setRegisterType(Long registerType) 
    {
        this.registerType = registerType;
    }

    public Long getRegisterType() 
    {
        return registerType;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setLevelId(Long levelId) 
    {
        this.levelId = levelId;
    }

    public Long getLevelId() 
    {
        return levelId;
    }

    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }

    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setHeader(String header) 
    {
        this.header = header;
    }

    public String getHeader() 
    {
        return header;
    }

    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }

    public void setBirth(Date birth) 
    {
        this.birth = birth;
    }

    public Date getBirth() 
    {
        return birth;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setJob(String job) 
    {
        this.job = job;
    }

    public String getJob() 
    {
        return job;
    }

    public void setSign(String sign) 
    {
        this.sign = sign;
    }

    public String getSign() 
    {
        return sign;
    }

    public void setSourceType(Long sourceType) 
    {
        this.sourceType = sourceType;
    }

    public Long getSourceType() 
    {
        return sourceType;
    }

    public void setIntegration(Long integration) 
    {
        this.integration = integration;
    }

    public Long getIntegration() 
    {
        return integration;
    }

    public void setGrowth(Long growth) 
    {
        this.growth = growth;
    }

    public Long getGrowth() 
    {
        return growth;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("socialUid", getSocialUid())
            .append("accessToken", getAccessToken())
            .append("expireIn", getExpireIn())
            .append("registerType", getRegisterType())
            .append("id", getId())
            .append("levelId", getLevelId())
            .append("username", getUsername())
            .append("password", getPassword())
            .append("nickname", getNickname())
            .append("mobile", getMobile())
            .append("email", getEmail())
            .append("header", getHeader())
            .append("gender", getGender())
            .append("birth", getBirth())
            .append("city", getCity())
            .append("job", getJob())
            .append("sign", getSign())
            .append("sourceType", getSourceType())
            .append("integration", getIntegration())
            .append("growth", getGrowth())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
